﻿namespace DoNet.Platform.QQ.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class TokenInfo
    {
        /// <summary>
        /// 授权令牌，Access_Token
        /// </summary>
        public string access_token { set; get; } = string.Empty;
        /// <summary>
        /// 该Access_Token有效期，单位为秒
        /// </summary>
        public int expires_in { set; get; }
        /// <summary>
        /// 在自动授权续期步骤中，获取新的Access_Token时需要提供的参数
        /// 注：refresh_token仅一次有效
        /// </summary>
        public string refresh_token { set; get; } = string.Empty;
    }
}
